<template>
    <bm-driving start="广东软件园" end="万达广场" @searchcomplete="handleSearchComplete" :panel="false" :autoViewport="true"></bm-driving>
</template>
<script>
export default {
  props: {
    parent: {
      type: Object,
      required: true
    },
    message: {
      type: String,
      default: undefined
    },
    type: {
      type: String,
      default: "list"
    }
  },
  computed: {
    isShow() {
      return !this.parent.isListEmpty(this.type);
    }
  }
};
</script>

